/**
 * 
 */
package com.jysz.webcore.ssh.web.struts2;

import com.jysz.webcore.ssh.orm.hibernate.support.Page;

/**
 * 处理分页
 * @author kacarich email:javaengine@outlook.com
 *
 */
public class PageAction extends SshAction {

	private static final long serialVersionUID = 1L;
	
	private int currentPage = 1; // 请求的页码
	
	private int pageSize = 20; // 分页时候页面每页显示行数
	
	private Page<?> page; //分页类
	
	public int getCurrentPage() {
		return currentPage;
	}
	public void setCurrentPage(int currentPage) {
		this.currentPage = currentPage;
	}
	
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public Page<?> getPage() {
		return page;
	}
	public void setPage(Page<?> page) {
		this.page = page;
	}
	
}
